/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.hk.shop.entity.shop;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 幸运爆款优惠券Entity
 * @author 李欣荣
 * @version 2018-10-11
 */
public class HkShopLuckyBurstCouponAdv extends DataEntity<HkShopLuckyBurstCouponAdv> {
	
	private static final long serialVersionUID = 1L;
	private String title;		// title
	private HkShopLuckyBurstCoupon burst;		// 爆款id 父类
	private String imgSrc;		// 广告
	private String coverImgSrc;		// 封面图片
	private String num;		// 能量值
	private String aimgSrc;		// 地址

	public String getAimgSrc() {
		return aimgSrc;
	}

	public void setAimgSrc(String aimgSrc) {
		this.aimgSrc = aimgSrc;
	}


	public HkShopLuckyBurstCouponAdv() {
		super();
	}

	public HkShopLuckyBurstCouponAdv(String id){
		super(id);
	}

	public HkShopLuckyBurstCouponAdv(HkShopLuckyBurstCoupon burst){
		this.burst = burst;
	}

	@Length(min=0, max=100, message="title长度必须介于 0 和 100 之间")
	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}


	public HkShopLuckyBurstCoupon getBurst() {
		return burst;
	}

	public void setBurst(HkShopLuckyBurstCoupon burst) {
		this.burst = burst;
	}
	
	@Length(min=0, max=200, message="广告长度必须介于 0 和 200 之间")
	public String getImgSrc() {
		return imgSrc;
	}

	public void setImgSrc(String imgSrc) {
		this.imgSrc = imgSrc;
	}
	
	@Length(min=0, max=200, message="封面图片长度必须介于 0 和 200 之间")
	public String getCoverImgSrc() {
		return coverImgSrc;
	}

	public void setCoverImgSrc(String coverImgSrc) {
		this.coverImgSrc = coverImgSrc;
	}
	
	@Length(min=0, max=11, message="能量值长度必须介于 0 和 11 之间")
	public String getNum() {
		return num;
	}

	public void setNum(String num) {
		this.num = num;
	}
	
}